#!/usr/bin/python

# ===============================
# createBitDefenderVirusFiles.py
# ================================

import os
from shutil import move
from BitDefender import *

startTime = datetime.datetime.now()

INPUT_DIR = "/home/ubuntu/virus-data/raw-data"
OUTPUT_DIR = "/home/ubuntu/virus-data/raw-data/done"

for filename in os.listdir(INPUT_DIR):
    print 'processing: ' + filename 
    processFile(filename)
    move(INPUT_DIR + '/' + filename, OUTPUT_DIR)


stopTime = datetime.datetime.now()

print ''
print 'Processing time = ' + str(stopTime - startTime)
print ''













